package com.ruoyi.personnelMatters.mapper;

import com.ruoyi.personnelMatters.domain.*;

import java.util.List;

public interface PerScheduledTasksMapper {
    /**
     * @return 需要执行的List<DeptChangeScanInfo>信息
     */
    public List<DeptChangeScanInfo> getToBeExecutDeptInfo();

    /**
     *
     * @return 需要执行的List<PositionChangeScanInfo>信息
     */
    public List<PositionChangeScanInfo> getToBeExecutPositionInfo();

    /**
     * @return 需要执行的List<PostChangeScanInfo>信息
     */
    public List<PostChangeScanInfo> getTobeExecutPostInfo();

    /**
     * @return 需要执行的List<EmployeeStatus>信息
     */
    public List<EmployeeStatusScanInfo> getTobeExecutEmployeeStatusInfo();

    /**
     *@return 需要执行的List<SalaryChangeScanInfo>信息
     */
    public List<SalaryChangeScanInfo> getTobeExecuteSalaryChangeScanInfo();

    /**
     * 标记已执行
     */
    public int markExecuted(int personDeptChangeId);

    public int markPositionExecuted(int personPositionChangeId);

    public int markPostExecuted(int personPostChangeId);

    public int markSalaryScaleExecuted(int personEmpStatusChangeId);

    public int markEmployeeStatusExecuted(int personEmpStatusChangeId);
}
